package com.atguigu.spzx.order.mapper;

import com.atguigu.spzx.model.entity.order.OrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderInfoMapper {
    void save(OrderInfo orderInfo);

    OrderInfo findOrderById(Long id);
    List<OrderInfo> findOrderPageByStatus(Integer orderStatus);

    OrderInfo findOrderByOrderNo(Long orderNo);

    void updateOrderByOrderNo(Long orderNo);
}
